#!/bin/bash
VERSION=libmnl-1.0.5
CROSS=aarch64-v01c01-linux-musl
#CROSS=x86_64-linux-gnu
PREFIX=${HOME}/tools/${CROSS}/${VERSION}

./autogen.sh

CC=${CROSS}-gcc \
AR=${CROSS}-ar \
./configure --prefix=${PREFIX} --host=aarch64-v01c01-linux-musl


make uninstall
make clean
make
make install

